package ch.subgate.chessvisualizationtrainer.utils;

public class ChessPiece {
	
	private String mType;
	private String mColor;
	private int mX;
	private int mY;
	
	public ChessPiece(String color, String type, int x, int y) {
		mType = type;
		mColor = color;
		mX = x;
		mY = y;
	}
	
	public String getReadable() {
		return mColor + "," + mType + CVTHelper.getReadableSquare(mX, mY);
	}
	
	public String getType() {
		return mType;
	}
	
	public String getColor() {
		return mColor;
	}
	
	public int getX() {
		return mX;
	}
	
	public int getY() {
		return mY;
	}
}
